<%@include file="../../generic/inc/head.jsp"%>

<%@ page import="fr.mywiki.view.web.struts.form.modeling.ModelsListForm" %>
<%@ page import="fr.mywiki.view.array.ArrayPage" %>

<script>
function createModel() {
	document.forms["modelsListForm"].method.value='createModel';
	document.forms["modelsListForm"].submit();
}
</script>

<div id="mainPanel">
	<html:form action="modelsList">
		<html:hidden property="method" value="" />
		<p>
			<a href="javascript:createModel();">Create a model</a>
		</p>

		<%@include file="../../generic/array/included.jsp"%>
<%
	ModelsListForm listForm = (ModelsListForm) session.getAttribute("modelsListForm");
	ArrayPage curPage = listForm.getModels().getPage();
	String arrayFormName = "modelsListForm";
%>
		<%@include file="../../generic/array/array.jsp"%>
		
	</html:form>
</div>

<%@include file="../../generic/inc/foot.jsp"%>
